package com.ruoyi.qt.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 笔记对象 qt_note
 * 
 * @author ruoyi
 * @date 2021-12-06
 */
public class QtNote extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String noteId;

    /** 用户id */
    @Excel(name = "用户id")
    private String userId;

    /** 题库id */
    @Excel(name = "题库id")
    private String tkId;

    /** 内容 */
    @Excel(name = "内容")
    private String noteContent;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date noteTime;

    /** 图片(可选) */
    @Excel(name = "图片(可选)")
    private String noteImg;

    /** 是否公开 */
    @Excel(name = "是否公开")
    private Integer isGk;

    /** 备用字符串 */
    @Excel(name = "备用字符串")
    private String noteStr;

    /** 备用整数 */
    @Excel(name = "备用整数")
    private Long noteInt;

    private String userName;
    private String userImg;
    private String tkTitle;

    public String getTkTitle() {
        return tkTitle;
    }

    public void setTkTitle(String tkTitle) {
        this.tkTitle = tkTitle;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserImg() {
        return userImg;
    }

    public void setUserImg(String userImg) {
        this.userImg = userImg;
    }

    public void setNoteId(String noteId)
    {
        this.noteId = noteId;
    }

    public String getNoteId() 
    {
        return noteId;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setTkId(String tkId) 
    {
        this.tkId = tkId;
    }

    public String getTkId() 
    {
        return tkId;
    }
    public void setNoteContent(String noteContent) 
    {
        this.noteContent = noteContent;
    }

    public String getNoteContent() 
    {
        return noteContent;
    }
    public void setNoteTime(Date noteTime) 
    {
        this.noteTime = noteTime;
    }

    public Date getNoteTime() 
    {
        return noteTime;
    }
    public void setNoteImg(String noteImg) 
    {
        this.noteImg = noteImg;
    }

    public String getNoteImg() 
    {
        return noteImg;
    }
    public void setIsGk(Integer isGk) 
    {
        this.isGk = isGk;
    }

    public Integer getIsGk() 
    {
        return isGk;
    }
    public void setNoteStr(String noteStr) 
    {
        this.noteStr = noteStr;
    }

    public String getNoteStr() 
    {
        return noteStr;
    }
    public void setNoteInt(Long noteInt) 
    {
        this.noteInt = noteInt;
    }

    public Long getNoteInt() 
    {
        return noteInt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("noteId", getNoteId())
            .append("userId", getUserId())
            .append("tkId", getTkId())
            .append("noteContent", getNoteContent())
            .append("noteTime", getNoteTime())
            .append("noteImg", getNoteImg())
            .append("isGk", getIsGk())
            .append("noteStr", getNoteStr())
            .append("noteInt", getNoteInt())
            .toString();
    }
}
